home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 59 / 59.xpi / chrome / useragentswitcher.jar / content / useragentswitcher / useragentswitcher.xul < prev   
Extensible Markup Language  |  2009-06-30  |  7KB  |  87 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://useragentswitcher/skin/useragentswitcher.css" type="text/css"?>
  3.  
  4. <!DOCTYPE overlay SYSTEM "chrome://useragentswitcher/locale/useragentswitcher.dtd">
  5.  
  6. <overlay id="useragentswitcher"
  7.          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  8.  
  9.     <script src="chrome://global/content/nsDragAndDrop.js" type="application/x-javascript"/>
  10.   <script src="chrome://useragentswitcher/content/common/array.js" type="application/x-javascript"/>
  11.   <script src="chrome://useragentswitcher/content/common/dom.js" type="application/x-javascript"/>
  12.   <script src="chrome://useragentswitcher/content/common/log.js" type="application/x-javascript"/>
  13.   <script src="chrome://useragentswitcher/content/common/preferences.js" type="application/x-javascript"/>
  14.   <script src="chrome://useragentswitcher/content/common/string.js" type="application/x-javascript"/>
  15.   <script src="chrome://useragentswitcher/content/common/stringbundle.js" type="application/x-javascript"/>
  16.   <script src="chrome://useragentswitcher/content/upgrade.js" type="application/x-javascript"/>
  17.   <script src="chrome://useragentswitcher/content/useragentswitcher.js" type="application/x-javascript"/>
  18.   <script src="chrome://useragentswitcher/content/xml/import.js" type="application/x-javascript"/>
  19.  
  20.   <stringbundleset id="stringbundleset">
  21.     <stringbundle id="useragentswitcher-string-bundle" src="chrome://useragentswitcher/locale/useragentswitcher.properties"/>
  22.   </stringbundleset>
  23.  
  24.   <menupopup id="menu_ToolsPopup">
  25.     <menu id="useragentswitcher-menu" class="menuitem-iconic" image="chrome://useragentswitcher/skin/default.png" insertafter="devToolsSeparator" label="&useragentswitcher.name;">
  26.       <menupopup id="useragentswitcher-popup-menu">
  27.         <menuitem id="useragentswitcher-default-menu" label="&useragentswitcher.default.user.agent;" name="useragentswitcher-group-menu" type="radio" oncommand="UserAgentSwitcher.reset()"/>
  28.         <menuseparator id="useragentswitcher-separator-1-menu"/>
  29.         <menuseparator id="useragentswitcher-separator-2-menu"/>
  30.         <menuitem id="useragentswitcher-edit-user-agents-menu" label="&useragentswitcher.edit.user.agents;" oncommand="UserAgentSwitcher.options()"/>
  31.         <menuseparator id="useragentswitcher-separator-3-menu"/>
  32.         <menu id="useragentswitcher-extension-menu" label="&useragentswitcher.name;">
  33.           <menupopup>
  34.             <menuitem id="useragentswitcher-options-menu" label="&useragentswitcher.options;" oncommand="UserAgentSwitcher.options()"/>
  35.             <menuseparator id="useragentswitcher-extension-separator-menu"/>
  36.             <menuitem id="useragentswitcher-help-menu" label="&useragentswitcher.help;" oncommand="UserAgentSwitcher.help()"/>
  37.             <menuitem id="useragentswitcher-test-menu" label="&useragentswitcher.test;" oncommand="UserAgentSwitcher.test()"/>
  38.             <menuitem id="useragentswitcher-about-menu" label="&useragentswitcher.about;" oncommand="UserAgentSwitcher.about()"/>
  39.           </menupopup>
  40.         </menu>
  41.       </menupopup>
  42.     </menu>
  43.   </menupopup>
  44.  
  45.   <menupopup id="taskPopup">
  46.     <menu id="useragentswitcher-menu" class="menuitem-iconic" image="chrome://useragentswitcher/skin/default.png" insertafter="downloadmgr" label="&useragentswitcher.name;">
  47.       <menupopup id="useragentswitcher-popup-menu">
  48.         <menuitem id="useragentswitcher-default-menu" label="&useragentswitcher.default.user.agent;" name="useragentswitcher-group-menu" type="radio" oncommand="UserAgentSwitcher.reset()"/>
  49.         <menuseparator id="useragentswitcher-separator-1-menu"/>
  50.         <menuseparator id="useragentswitcher-separator-2-menu"/>
  51.         <menuitem id="useragentswitcher-edit-user-agents-menu" label="&useragentswitcher.edit.user.agents;" oncommand="UserAgentSwitcher.options()"/>
  52.         <menuseparator id="useragentswitcher-separator-3-menu"/>
  53.         <menu id="useragentswitcher-extension-menu" label="&useragentswitcher.name;">
  54.           <menupopup>
  55.             <menuitem id="useragentswitcher-options-menu" label="&useragentswitcher.options;" oncommand="UserAgentSwitcher.options()"/>
  56.             <menuseparator id="useragentswitcher-extension-separator-menu"/>
  57.             <menuitem id="useragentswitcher-help-menu" label="&useragentswitcher.help;" oncommand="UserAgentSwitcher.help()"/>
  58.             <menuitem id="useragentswitcher-test-menu" label="&useragentswitcher.test;" oncommand="UserAgentSwitcher.test()"/>
  59.             <menuitem id="useragentswitcher-about-menu" label="&useragentswitcher.about;" oncommand="UserAgentSwitcher.about()"/>
  60.           </menupopup>
  61.         </menu>
  62.       </menupopup>
  63.     </menu>
  64.   </menupopup>
  65.  
  66.   <toolbarpalette id="BrowserToolbarPalette">
  67.     <toolbarbutton id="useragentswitcher-button" label="&useragentswitcher.name;" accesskey="&useragentswitcher.name.key;" type="menu" onmouseover="UserAgentSwitcher.openToolbarButton(this)">
  68.       <menupopup id="useragentswitcher-popup-toolbar">
  69.         <menuitem id="useragentswitcher-default-toolbar" label="&useragentswitcher.default.user.agent;" accesskey="&useragentswitcher.default.user.agent.key;" name="useragentswitcher-group-toolbar" type="radio" oncommand="UserAgentSwitcher.reset()"/>
  70.         <menuseparator id="useragentswitcher-separator-1-toolbar"/>
  71.         <menuseparator id="useragentswitcher-separator-2-toolbar"/>
  72.         <menuitem id="useragentswitcher-edit-user-agents-toolbar" label="&useragentswitcher.edit.user.agents;" accesskey="&useragentswitcher.edit.user.agents.key;" oncommand="UserAgentSwitcher.options()"/>
  73.         <menuseparator id="useragentswitcher-separator-3-toolbar"/>
  74.         <menu id="useragentswitcher-extension-toolbar" label="&useragentswitcher.name;" accesskey="&useragentswitcher.name.key;">
  75.           <menupopup>
  76.             <menuitem id="useragentswitcher-options-toolbar" label="&useragentswitcher.options;" accesskey="&useragentswitcher.options.key;" oncommand="UserAgentSwitcher.options()"/>
  77.             <menuseparator id="useragentswitcher-extension-separator-toolbar"/>
  78.             <menuitem id="useragentswitcher-help-toolbar" label="&useragentswitcher.help;" accesskey="&useragentswitcher.help.key;" oncommand="UserAgentSwitcher.help()"/>
  79.             <menuitem id="useragentswitcher-test-toolbar" label="&useragentswitcher.test;" accesskey="&useragentswitcher.test.key;" oncommand="UserAgentSwitcher.test()"/>
  80.             <menuitem id="useragentswitcher-about-toolbar" label="&useragentswitcher.about;" accesskey="&useragentswitcher.about.key;" oncommand="UserAgentSwitcher.about()"/>
  81.           </menupopup>
  82.         </menu>
  83.       </menupopup>
  84.     </toolbarbutton>
  85.   </toolbarpalette>
  86. </overlay>
  87.